
console.log('123456789'.slice(0, 6));